API Documentation
SubresourceCpuDataDescriptor.h
1 // SubresourceCpuDataDescriptor.h
3 //
5 
6 namespace nkGraphics
7 {
14  {
15  unsigned int _bufferByteOffset = 0 ;
16 
17 
18  unsigned int _rowBytePitch = 0 ;
19  unsigned int _depthBytePitch = 0 ;
20  } ;
21 }
nkGraphics::SubresourceCpuDataDescriptor
Describes the memory layout of a subresource, within a resource.
Definition: SubresourceCpuDataDescriptor.h:14
nkGraphics::SubresourceCpuDataDescriptor::_bufferByteOffset
unsigned int _bufferByteOffset
the byte offset in the cpu data provided.
Definition: SubresourceCpuDataDescriptor.h:15
nkGraphics::SubresourceCpuDataDescriptor::_rowBytePitch
unsigned int _rowBytePitch
The size in byte of a row. Can be used when padding is necessary. Leave it to 0 to assume data is ful...
Definition: SubresourceCpuDataDescriptor.h:18
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::SubresourceCpuDataDescriptor::_depthBytePitch
unsigned int _depthBytePitch
The size in byte of a depth slice. Can be used when padding is necessary. Leave it to 0 to assume dat...
Definition: SubresourceCpuDataDescriptor.h:19